﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using sapphirelang.AST.Exprs;

namespace sapphirelang.AST.Stmts
{
    // return value;
    // returns a value from a method
    class ReturnStmt : Stmt
    {
        public Expr value;

        public ReturnStmt(Expr value)
        {
            this.value = value;
        }
        public ReturnStmt()
        {
            this.value = null;
        }
    }
}
